package com.heiyu.api.response.model;

import com.heiyu.api.response.ResponseModel;
import com.heiyu.entity.ArticleMark;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel
public class ArticelDetailModel extends ResponseModel {

    @ApiModelProperty(value = "文章主键")
    private Long articleId;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "作者名称")
    private String authorName;
    @ApiModelProperty(value = "创建时间")
    private String createdTime;
    @ApiModelProperty(value = "unix时间戳")
    private Integer timestamp;
    @ApiModelProperty(value = "看涨数量")
    private Integer goodNum;
    @ApiModelProperty(value = "看空数量")
    private Integer badNum;
    @ApiModelProperty(value = "文章内容")
    private String content;
    @ApiModelProperty(value = "作者头像")
    private String avator;
    @ApiModelProperty(value = "来源")
    private String articleSource;
    @ApiModelProperty(value = "标签")
    private List<ArticleMark> markList;
    @ApiModelProperty(value = "相关推荐")
    private List<ArticleEntity> refArticleList;
    @ApiModelProperty(value = "文章封面图片")
    private String imgUrl;
    @ApiModelProperty(value = "用户是否点赞，利好为1，利空为0，没有点击为空")
    private String isGood;
    @ApiModelProperty(value = "描述")
    private String shortDesc;
    @ApiModelProperty(value = "1是关注，0是未关注")
    private String isFocus;
    @ApiModelProperty(value = "是否收藏")
    private String isCollect;
    @ApiModelProperty(value = "评论数量")
    private Integer assessNum;
    @ApiModelProperty(value = "作者主键")
    private Long authorId;

    public Long getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Long authorId) {
        this.authorId = authorId;
    }

    public String getIsFocus() {
        return isFocus;
    }

    public void setIsFocus(String isFocus) {
        this.isFocus = isFocus;
    }

    public String getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(String isCollect) {
        this.isCollect = isCollect;
    }

    public Integer getAssessNum() {
        return assessNum;
    }

    public void setAssessNum(Integer assessNum) {
        this.assessNum = assessNum;
    }

    public String getShortDesc() {
        return shortDesc;
    }

    public void setShortDesc(String shortDesc) {
        this.shortDesc = shortDesc;
    }

    public String getIsGood() {
        return isGood;
    }

    public void setIsGood(String isGood) {
        this.isGood = isGood;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Integer timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(Integer goodNum) {
        this.goodNum = goodNum;
    }

    public Integer getBadNum() {
        return badNum;
    }

    public void setBadNum(Integer badNum) {
        this.badNum = badNum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAvator() {
        return avator;
    }

    public void setAvator(String avator) {
        this.avator = avator;
    }

    public String getArticleSource() {
        return articleSource;
    }

    public void setArticleSource(String articleSource) {
        this.articleSource = articleSource;
    }

    public List<ArticleMark> getMarkList() {
        return markList;
    }

    public void setMarkList(List<ArticleMark> markList) {
        this.markList = markList;
    }

    public List<ArticleEntity> getRefArticleList() {
        return refArticleList;
    }

    public void setRefArticleList(List<ArticleEntity> refArticleList) {
        this.refArticleList = refArticleList;
    }
}
